package com.sci.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sci.entity.OrderRow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderRowMapper extends BaseMapper<OrderRow> {
    @Select("select * from order_row where order_id = #{orderId}")
    List<OrderRow> selectByOrderId(String orderId); // 根据orderId查询订单行


    void batchInsert(List<OrderRow> orderRows);
}
